package com.hongling.uc.dao;


import com.hongling.uc.mapping.User;

import java.util.List;

// 此处@Mapper也可以不写,但是要在springboot启动类出加上注解@MapperScan
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    User selectByPrimaryKey(Integer id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);
}